* {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

body {
    background-color: #ececec;
}

.sam-header {
    width: 100%;
    box-sizing: border-box;
    background-color: #ececec;
    padding: 10px;
    font-size: 0;
}

.sam-header .search-input-box,.sam-header .publish-btn {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}

.sam-header .search-input-box {
    width: 60%;
    box-sizing: border-box;
    padding: 0 5px;
    border: #d5d5d5 solid 1px;
    border-radius: 5px;
    background-color: #e4e4e4;
    font-size: 0;
}

.sam-header .search-input-box>input,.sam-header .search-input-box>.icon-btn {
    display: inline-block;
    vertical-align: middle;
}

.sam-header .search-input-box>input {
    width: 85%;
    border: none;
    box-shadow: none;
    font-size: .9rem;
    color: #333;
    padding: 3px;
    text-align: center;
    background-color: transparent;
}

.sam-header .search-input-box>.icon-btn {
    width: 15%;
    box-sizing: border-box;
    padding-top: 15%;
    background-position: 70% center;
    background-repeat: no-repeat;
    background-size: 60%;
    background-image: url('../image/icon_search_cdcdcd.png');
    position: relative;
}

.sam-header .search-input-box>.icon-btn:before {
    width: 1px;
    height: 70%;
    content: '';
    background-color: #d5d5d5;
    position: absolute;
    top: 15%;
    left: 0;
    transform: scaleX(.5);
    -webkit-transform: scaleX(.5);
}

.sam-header .publish-btn {
    width: 37%;
    margin-left: 3%;
    background-color: #ff7200;
    font-size: 0;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.sam-header .publish-btn>.left-icon,.sam-header .publish-btn>.words {
    display: inline-block;
    vertical-align: middle;
}

.sam-header .publish-btn>.left-icon {
    width: 17%;
    box-sizing: border-box;
    padding-top: 17%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%;
    background-image: url('../image/icon_publish_edit_fff.png');
}

.sam-header .publish-btn>.words {
    margin-left: 3%;
    max-width: 80%;
    font-size: .9rem;
    text-align: left;
}

.sam-footer {
    width: 100%;
    background-color: #fff;
    font-size: 0;
    position: fixed;
    bottom: 0;
    left: 50%;
    padding-top: 2px;
    padding-bottom: 2px;
    border-top: #f3f3f3 solid 1px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.sam-footer .tab-item {
    display: inline-block;
    vertical-align: bottom;
    width: 20%;
    font-size: .8rem;
    color: #333;
}

.sam-footer .tab-item>.top-icon {
    width: 40%;
    padding-top: 40%;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.sam-footer .tab-item.publish {
    width: 16%;
    padding-top: 16%;
    border-radius: 100%;
    background-color: #fff;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    background-image: url('../image/icon_tab_edit_02c670.png');
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.sam-footer .tab-item.home {
    margin-right: 30%;
}

.sam-footer .tab-item.mine {
    margin-left: 30%;
}

.sam-footer .tab-item.home>.top-icon {
    background-image: url('../image/icon_tab_home_333.png');
}

.sam-footer .tab-item.mine>.top-icon {
    background-image: url('../image/icon_tab_mine_333.png');
}

.sam-footer .tab-item>.name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    line-height: 1rem;
}

.sam-white-bg {
    background-color: #fff;
}

.sam-padding-all {
    padding: 10px;
}

.sam-placeholder {
    width: 100%;
    height: 16vw;
}

.sam-form-line {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
    font-size: 0;
    margin-bottom: 5px;
}

.sam-form-line .left,.sam-form-line .right {
    display: inline-block;
    vertical-align: top;
    font-size: .9rem;
    color: #333;
}

.sam-form-line .left {
    width: 20%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-right: 2%;
}

.sam-form-line .left>span {
    color: #f00;
    margin-right: 3px;
}

.sam-form-line .right {
    font-size: 0;
    width: 78%;
    position: relative;
}

.sam-form-line .right .select-text,.sam-form-line .right .select-arrow {
    display: inline-block;
    vertical-align: middle;
    font-size: .9rem;
}

.sam-form-line .right .select-text {
    width: 93%;
    margin-right: 2%;
    color: #777;
}

.sam-form-line .right .select-text.chosen {
    color: #333;
}

.sam-form-line .right .select-arrow {
    width: 5%;
    padding-top: 5%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url('../image/icon_select_arrow_333.png');
}

.sam-form-line .right>select {
    width: 100%;
    font-size: .9rem;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.sam-form-line .right>input {
    width: 100%;
    border: none;
    box-shadow: none;
    font-size: .9rem;
}

.sam-form-line .right>textarea {
    width: 100%;
    border: none;
    box-shadow: none;
    font-size: .9rem;
    padding: 0;
    resize: none;
}

.sam-form-line .tips {
    width: 78%;
    margin-left: 22%;
    font-size: .6rem;
    color: #f00;
    margin-top: 8px;
}

.no-font-size {
    font-size: 0 !important;
}

.sam-image-uploader,.sam-image-shower {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    width: 32%;
    padding-top: 32%;
    border: #ececec solid 1px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 2%;
    box-sizing: border-box;
    font-size: 0;
}

.sam-image-uploader>input {
    display: none;
}

.sam-image-uploader:last-child,.sam-image-shower:last-child {
    margin-right: 0;
}

.sam-image-uploader {
    background-size: 30%;
    background-image: url('../image/icon_btn_uploader_ccc.png');
}

.sam-image-uploader:active {
    background-color: #fbfbfb;
}

.sam-image-shower {
    background-size: cover;
    background-color: #fbfbfb;
    position: relative;
}

.sam-image-shower .sam-image-cross {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    font-size: .6rem;
    color: #fff;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 1px 0;
    overflow: hidden;
}

@media screen and (max-width: 320px) {
    .sam-header .search-input-box>input,.sam-header .publish-btn>.words {
        font-size: .8rem;
    }

    .sam-footer .tab-item {
        font-size: .7rem;
    }

    .sam-form-line .left,.sam-form-line .right .select-text,.sam-form-line .right>input,.sam-form-line .right>select,.sam-form-line .right>textarea {
        font-size: .8rem;
    }
}